using System;
using System.Collections.Generic;
using System.Text;

namespace Acms.DataControls
{
    [System.ComponentModel.Designer(typeof(UserPostUploadVoteDataSourceDesigner))]
    [System.Web.UI.ToolboxData("<{0}:UserPostUploadVoteDataSource runat=server></{0}:UserPostUploadVoteDataSource>")]
    public class UserPostUploadVoteDataSource : GenericDataSource<Bll.UserPostUploadVote>
    {
    }

    public class UserPostUploadVoteDataSourceDesigner : GenericDataSourceDesigner<Bll.UserPostUploadVote>
    {

        protected override Acms.Bll.UserPostUploadVote GetDesignTimeItem(int index)
        {
            Random rnd = new Random();
            Bll.UserPostUploadVote tmp = Bll.UserPostUploadVote.CreateInstance(rnd.Next(1,100), rnd.Next(1,100));

            return tmp;
        }
    }
}
